-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Add support for Pip's extra dependencies in YAML config. #2368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Pip's extra dependencies in YAML config. #2368
Conversation
Thanks for the PR. |
Thanks @berkerpeksag for the heads up. I overlooked the dependency to |
* Type: List | ||
|
||
List of `extra requirements`_ sections to install, additionnaly to the | ||
`package default dependencies`_. Only works if `python.pip_install` option |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
python.pip_install
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in a2b1ef7.
Both PRs look good to me, thanks! I added the WIP label since we need to get readthedocs/readthedocs-build#16 in first. |
Just waiting for an answer about |
All comments have been addressed. I think this PR is ready to be merged. Just waiting for readthedocs/readthedocs-build#16 now... |
readthedocs/readthedocs-build#16 has been merged upstream thanks to @ericholscher . Should we wait for a proper release of the |
We can just update the pip requirements to point at the commit for now. |
Could you please squash the commits? |
@ericholscher: yep, that what I preemptively did in 5af1222. Hence @berkerpeksag proposal to squash commits. |
@berkerpeksag: oh, BTW, is that my job to squash the commits? Just tell me what to do. But while we're at it I just wanted to point out that GitHub is now allowing repository owners to merge PR and squash commits in one go with a simple click. See: https://github.com/blog/2141-squash-your-commits |
Yes, GitHub does the job for us now, but not every project use it by default. I sometimes forget to choose "Squash and merge" option for example :) So it would be nice to keep the history linear. |
@berkerpeksag OK. Squashed all commits. Ready to be merged IMHO. |
* Default: ``[]`` | ||
* Type: List | ||
|
||
List of `extra requirements`_ sections to install, additionnaly to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo here: additionnaly
Will merge & fix typo. Thanks for the PR! |
Thanks @ericholscher for the merge! :) |
Sorry to bother you but, do we have an idea when this PR is going to hit the production servers of |
I can get it deployed today. |
I can wait a week or two. There is no urgency as the target is some sort of non-existential open-source projects. Just wanted to give a quick feedback about the effect of the PR. |
Should be deployed now, let me know if it works :) |
Sorry to bother you but I can't see any |
Hmm, did this work locally? I will try and take a look at it this week. On Sat, Aug 27, 2016 at 4:03 AM, Kevin Deldycke [email protected]
Eric Holscher |
@ericholscher Sorry. I just relied on unit-tests to cover this feature. |
@kdeldycke, doesn't work for me too, see #2432 |
@ericholscher, @kdeldycke - it seems this does work for me on the local setup. Here is the part of build log:
And in the web interface I have the following line:
Please notice @ericholscher, Are you sure that the recent readthedocs-build was actually deployed? |
Thanks @skirpichev for the feedback! Also suspecting a deployment issue on RTD production server since the beginning. |
@ericholscher, support for .readthedocs.yml doesn't work too after recent update (#2442), so I bet the readthedocs-build package wasn't updated in production. Could you check that? |
Ok, now this finally works. I'll close #2432. |
Depends on: readthedocs/readthedocs-build#16.
Also closes #173.